The Optimizely Supply Chain Attack, Explained
On 16 November 2026, visitors to the BBC, CNN, HSBC, Zoom and at least 175 other organisations were served malicious code. Not one of those organisations was hacked. If you run a business website, this is the story you need to understand before it happens to your customers.
What happened
On 16 November 2026, an attacker found a weakness in the signup flow of Optimizely, a widely used A/B testing platform that thousands of websites embed as a script on every page. Identified as CVE-2026-132224, the flaw let the attacker write their own code into the "Project JavaScript" field of other people's accounts.
Because that field is trusted, the attacker's code was served straight to visitors from Optimizely's own content delivery network, cdn.optimizely.com, under Optimizely's valid security certificate. To every browser on earth, it looked exactly like the real thing. It was the real thing, in a sense: the same server, same certificate, same file, poisoned contents.
Security researcher Scott Helme and his team at Report URI scanned 1,611 Optimizely snippets and found 188 carrying the malicious code, tied to at least 178 organisations. Alongside the BBC, CNN and HSBC sat Zoom, Salesforce, GitLab, IKEA, Equifax, Ledger, Air France-KLM, Fox News and Peacock. The true number is believed to be higher.
What the code did
Three payloads, running on some of the most visited sites in the world:
- Card skimming. When a visitor typed card details into a site's own payment forms, the code grabbed the number, expiry date and CVV before the legitimate payment processor ever saw them. Cards entered through a separate payment provider's embedded form, such as a hosted checkout, were out of reach.
- Cryptocurrency address swaps. Where visitors could pay in crypto, the code substituted the destination wallet address for the attacker's.
- An iPhone exploit kit. On iPhones and iPads running iOS 18.6 or older, affected pages quietly reloaded every 60 seconds while the exploit chain ran.
Optimizely confirmed the incident on its status page and removed the injected code; Report URI reported all monitored snippets clean by 23:11 UTC on 16 November. But every card typed into an affected site's own form that day should be treated as potentially exposed, and Report URI has advised site owners to consider telling their customers so.
Why nobody's firewall helped
Here is the uncomfortable part. The BBC's security teams are among the best funded in the world. It made no difference, because nothing came through their defences. The malicious code arrived through a door the BBC had opened deliberately, years earlier, by pasting a snippet of Optimizely JavaScript into its pages.
A website can be compromised through a third-party dependency without its own code or infrastructure ever being breached. That is the entire trick.
Every script your site loads from someone else is a standing invitation: "run this code on my pages, whatever it contains, whoever wrote it today." You vetted the vendor when you signed up. You did not vet this morning's version of the file. That is the gap the attacker walked through, and it exists on millions of sites right now.
There is early evidence this was not confined to one vendor. Researchers at Hudson Rock traced the same delivery pattern to three further script services, Kissmetrics, StorifyMe and minute-ly, with tampered responses recorded as early as 13 November. Expect more of these. The economics favour the attacker: compromise one script provider and you inherit hundreds of trusted relationships at once.
What to do if your business embeds third-party scripts
- Inventory your scripts. You cannot secure what you have not counted. Load your homepage with your browser's developer tools open and list every domain that is not yours.
- Justify each one. For every script, ask: what revenue or function does this earn, and what happens if that vendor is compromised this week? Chat widgets, analytics, session replay, heat maps, A/B testing: each is a door.
- Remove what you can. Most sites carry scripts nobody remembers installing. They all go.
- Constrain what stays. A Content-Security-Policy header limits where scripts may load from, and Subresource Integrity ties a script to a hash of its expected contents, so a swapped file refuses to run. Neither is a cure, but both raise the cost of attacking you.
- Re-check your payment flow. If your customers type card details into forms on your own domain, that is the highest-value target on your site. A hosted checkout page from your payment provider puts that risk where it is professionally defended.
- Talk to your web people. If someone else runs your site, ask them one question: "How many third-party scripts do we load, and can you name them?" If they cannot answer, you have learned something important about them.
The design choice
Nothing online is unhackable, and CPWS will not pretend otherwise. But attack surface is a design choice. Every third-party script you remove is a supply chain you are no longer part of, a vendor's signup-flow vulnerability you no longer have to hope was patched. The organisations hit on 16 November did not choose weak passwords or ignore updates; they chose convenience, one snippet at a time, over years.
We build the other way: lean stacks, minimal dependencies, and no strangers in your stack. If that trade-off appeals to you, have a look at how we isolate every client instance, or read our piece on the hidden risks of mainstream hosting.
Tools we use ourselves
Proton Workspace for BusinessEncrypted email, calendar, docs and drive under one business account, GDPR-friendly and Swiss-hosted. This is what we run CPWS on.
Proton Unlimited (personal)Disclosure: these are affiliate links. If you sign up through them, we may earn a commission at no extra cost to you. We only recommend services we pay for ourselves.
Sources: Report URI, "World's Largest Brands Infected With Malware Via Optimizely" (16 Nov 2026); Help Net Security (17 Nov 2026); Malwarebytes (17 Nov 2026); McAfee (18 Nov 2026); Bitsight, "Optimizely CVE-2026-132224"; BlackKite. Figures are as reported by these analyses; counts may rise as research continues.